package cn.bailan.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * Author:甲粒子
 * Date: 2022/6/5
 * Description：道德余额
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Document(collection = "moralBalance")
public class MoralBalance {
    @Id
    private String id;
    private Integer userId;//上传者id
    private String upTime;//上传时间
    private double goodScore;
    private double badScore;
    private double score;//今日分数
}
